<template>
  <v-mask :isshow="isshow" @closeMask="closeMask">
    <v-slide :slides="slides"></v-slide>
  </v-mask>
</template>
<script>
  import mask from '../base/mask.vue';
  import slide from '../slide/slide';
  export default{
    props: {
      isshow: {
        type: Boolean,
        default: true
      },
      slides: {
        type: Array,
        default: []
      }
    },
    methods: {
      'closeMask': function () {
        this.$emit('closePreview');
      }
    },
    components: {
      'v-mask': mask,
      'v-slide': slide
    }
  };
</script>
<style>
</style>
